<ui:composition template="/WEB-INF/templates/showcase.xhtml"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:o="http://omnifaces.org/ui"
>
    <ui:define name="description">
        <p>
        	FacesViews is a mechanism to use SEO-friendly extensionless URLs in a JSF application
            without the need to enlist individual Facelet source files in some configuration file.
        </p>
        <p>
            Instead, Facelets source files can be put into the special <code>/WEB-INF/faces-views</code>
            directory, from where they will be automatically scanned. See the 
            <a href="#{_apiURL}org/omnifaces/facesviews/package-summary.html">package documentation</a>
            for additional details.
        </p>
    </ui:define>

    <ui:define name="demo">
        <p>
            Navigate to FacesViews pages without an extension: 
            <a href="#{request.contextPath}/viewsdemo">viewsdemo</a>
        </p>
        <p>
            Navigate to FacesViews pages with extension: 
			<a href="#{request.contextPath}/viewsdemo.xhtml">viewsdemo.xhtml</a>
        </p>
    </ui:define>
</ui:composition>